import java.util.Date;

public class LectureActivity extends Activity {

    private String keySpeaker;

    public LectureActivity(String id, String name, Date startTime, Date endTime, String description, String site, String keySpeaker) {
        super(id, name, startTime, endTime, description, site);
        this.keySpeaker = keySpeaker;
    }

    public String getKeySpeaker() {
        return keySpeaker;
    }

    @Override
    public String toString() {
        StringBuilder lectureActivity = new StringBuilder();
        lectureActivity.append("LectureActivity{").
                append("id='").append(getId()).
                append(", name=").append(getName()).
                append(", startTime='").append(getStartTime()).
                append(", endTime='").append(getEndTime()).
                append(", description=").append(getDescription()).
                append(", site=").append(getSite()).
                append(", teachers=").append(teachers.toString()).
                append(", teams=").append(teams.toString()).
                append(", organizers=").append(organizers.toString()).append("'}");
        return lectureActivity.toString();
    }
}
